package com.blog.user.pojo;

import com.blog.common.pojo.BasePoJo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.Date;

/**
 * @ClassName:File
 * @Author:wubo
 * @Data:2020/7/28 10:28
 */
@JsonIgnoreProperties()
public class FileAttachment extends BasePoJo {
    private static final long serialVersionUID = -6787762715998217255L;
    private String fileName;
    private String filePath;


    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getPath() {
        return filePath;
    }

    public void setPath(String path) {
        this.filePath = path;
    }

    public FileAttachment() {
    }

    public FileAttachment(String fileName, String filePath, Date createTime, Date updateTime) {
        this.fileName = fileName;
        this.filePath = filePath;
    }

    @Override
    public String toString() {
        return "FileAttachment{" +
                "fileName='" + fileName + '\'' +
                ", filePath='" + filePath + '\'' +
                '}';
    }
}
